package com.zhuiyun.project.api.plan.fitnessPurpose.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuiyun.project.api.plan.fitnessPurpose.entity.FitnessPurpose;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FitnessPurposeMapper extends BaseMapper<FitnessPurpose> {
    /**
     * @Author 杨珅
     * @Description todo 健身目的查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public List<FitnessPurpose> selectAll(PageRequest pageRequest, String fitnessPurposeName,String venueUniqueIdentifier);
    
    /**
    * @Author 摸鱼飞弹
    * @Description TODO 健身目的查询
    * @Date 2024/3/4 15:00
    * @Return 
    * @param null
    */
    public List<FitnessPurpose> selectAll(String fitnessPurposeName,String venueUniqueIdentifier);

    /**
     * @Author 杨珅
     * @Description todo 健身目的查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public  List<FitnessPurpose> queryAll(String venueUniqueIdentifier);
    /**
     * @Author 杨珅
     * @Description todo 健身目的新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int insertFitnessPurpose(FitnessPurpose fitnessPurpose);
    /**
     * @Author 杨珅
     * @Description todo 健身目的新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int updateFitnessPurpose(FitnessPurpose fitnessPurpose);
    /**
     * @Author 杨珅
     * @Description todo 健身目的删除
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int deleteFitnessPurpose(FitnessPurpose fitnessPurpose);
}
